package com.toKnow.mapper;

import com.toKnow.model.entity.ColumnPub;

public interface ColumnPubDao {

    int insertColumn(ColumnPub columnPub);

    ColumnPub selectColumnById(Integer id);

    int updateColumn(ColumnPub columnPub);

    int addColumnComment(Integer id);

    int addColumnLike(Integer id);

    int subColumnLike(Integer id);

    int insertColumnReturnId(ColumnPub columnPub);

}
